package com.firebroo.PushObserver;

public class test {
	public static void main(String[] args) {
		Observer observer1 = new ConcreteObserver1();
		Observer observer2 = new ConcreteObserver2();
		ConcreteSubject subject = new ConcreteSubject();
		subject.attach(observer1);
		subject.attach(observer2);
		subject.change("hello");
	}
}
